package com.yhsoft.mall.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TopicInfoAddInVo {

    @ApiModelProperty("专题名称")
    @NotBlank(message = "专题名称不能为空")
    private String name;

    @ApiModelProperty("专题类型(1:通用；2:充值)")
    @NotNull(message = "专题类型不能为空")
    private Integer type;

    @ApiModelProperty("专题备注")
    private String remark;
}
